package com.shanghaionstar.activity.webview.handler.picture;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author xuff 图片显示bean对象
 */
public class ImageDetailBean implements Parcelable
{
    
    private String image;
    
    // private String story;
    private String time;
    
    // private String uploadName;
    // private String hot;
    private Long dateTaken;
    
    private Integer size;
    
    public Integer getSize()
    {
        return size;
    }
    
    public void setSize(Integer size)
    {
        this.size = size;
    }
    
    public Long getDateTaken()
    {
        return dateTaken;
    }
    
    public void setDateTaken(Long dateTaken)
    {
        this.dateTaken = dateTaken;
    }
    
    public String getImage()
    {
        return image;
    }
    
    public void setImage(String image)
    {
        this.image = image;
    }
    
    public String getTime()
    {
        return time;
    }
    
    public void setTime(String time)
    {
        this.time = time;
    }
    
    public ImageDetailBean()
    {
    }
    
    @Override
    public int describeContents()
    {
        return 0;
    }
    
    @Override
    public void writeToParcel(Parcel dest, int flags)
    {
        dest.writeString(this.image);
        dest.writeString(this.time);
        dest.writeValue(this.dateTaken);
        dest.writeValue(this.size);
    }
    
    protected ImageDetailBean(Parcel in)
    {
        this.image = in.readString();
        this.time = in.readString();
        this.dateTaken = (Long)in.readValue(Long.class.getClassLoader());
        this.size = (Integer)in.readValue(Integer.class.getClassLoader());
    }
    
}
